package dd.view;

import java.awt.BorderLayout;
import java.awt.EventQueue;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;

import dd.model.Edge;
import dd.model.Event;
import dd.model.Model;
import javax.swing.JLabel;

public class ResultScreen extends JFrame {

	private JPanel contentPane;
	DrawingCanvas dc;
	Model model;
	Event e;
	ArrayList<Edge> ledge;
	/**
	 * Launch the application.
	 */


	/**
	 * Create the frame.
	 */
	public ResultScreen() {
		model = Model.getInstance();
		e = model.getEvent();
		ledge = e.getedgelist();
		String result;
		dc = new DrawingCanvas();
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 450, 300);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		contentPane.setLayout(new BorderLayout(0, 0));
		setContentPane(contentPane);
//		result = dc.calcResult(ledge);
		JLabel lblNewLabel = new JLabel("");
		contentPane.add(lblNewLabel, BorderLayout.CENTER);
		
	}
}


